package ai.people.netmon.framework.domain.graph.enums;

/**
 * 图社交媒体标签枚举
 *
 * @author zhenglin
 * @date 2022/4/25
 */
public enum GraphSocialTagEnum {

    /**
     * 电报
     */
    TELEGRAM("telegram"),
    /**
     * 脸谱网
     */
    FACEBOOK("facebook"),
    /**
     * 推特
     */
    TWITTER("twitter"),
    /**
     * reddit
     */
    REDDIT("reddit"),
    /**
     * whatsapp
     */
    WHATSAPP("whatsapp"),
    /**
     * youtube
     */
    YOUTUBE("youtube"),
    /**
     * 微博
     */
    WEIBO("weibo"),
    /**
     * line
     */
    LINE("line"),
    /**
     * 信号
     */
    SIGNAL("signal"),
    /**
     * gettr
     */
    GETTR("gettr"),
    /**
     * tor
     */
    TOR("tor"),

    ;

    public String tagName;

    GraphSocialTagEnum(String tagName) {
        this.tagName = tagName;
    }

    public static boolean hasTagName(String tagName) {
        for (GraphSocialTagEnum tag : GraphSocialTagEnum.values()) {
            if (tag.tagName.equals(tagName)) {
                return true;
            }
        }
        return false;
    }
}
